package game.cube;

import java.nio.FloatBuffer;
import java.nio.ShortBuffer;

public interface Shape {
	public void setTranslate(float x, float y, float z);
	public void add_translation(float x, float y, float z);
	public void setParentTranslate(float x, float y, float z);
	public void add_parent_translation(float x, float y, float z);
	public void setRotateX(float angle);
	public void addRotateX(float angle);
	public void mixParentTranslate();
	public void mixTranslateToRotateMatrix();
	public void mixRotateToTranslateMatrix();

	public boolean is_active();

	public FloatBuffer getVertexBuffer();
	public ShortBuffer getIndexBuffer();
	public FloatBuffer getColorBuffer();
	public int         getIndexLength();
	public float[]     getMatrix();
}
